package cn.com.infosec.ra.interfaceForWS;

import javax.jws.WebParam;
import javax.jws.WebParam.Mode;
import javax.jws.WebService;

@WebService(endpointInterface = "cn.com.infosec.ra.interfaceForWS.IDataInterface",targetNamespace = "http://interfaceForWS.ra.infosec.com.cn/")
public class DataInterfaceImpl implements IDataInterface {
	
	private IWsService iWsService;
	
	@Override
	public String sendData(@WebParam(name = "xmlData", mode = Mode.IN,targetNamespace = "http://interfaceForWS.ra.infosec.com.cn/") String xmlData) {
		return iWsService.doAction(xmlData);
	}
	
	public IWsService getiWsService() {
		return iWsService;
	}
	public void setiWsService(IWsService iWsService) {
		this.iWsService = iWsService;
	}
}
